A5Storage::SecurityImpersonation Class
IN THIS PAGE
Description
This class is a utility class used by other A5Storage classes to manage logins required. Some of the functions can be used independently from A5Storage containers.
Properties
- CallResultCallResult
The CallResult property will hold information for the result of the last method invoked on this instance.
- Character
The last share name connected by calling AddRemoteServerDomain() for this instance of this class.
Methods
- AddRemoteServerDomain Method
This function adds a remote server and share to the local windows context, handling any logon required. If the share is already available with the same credentials, calling the function a second time does not return an error.
- RemoveRemoteServer Method
Removes a remote network share from the local Windows Session and User so it is no longer available..
This namespace is primarilly intended for internal use. Some of the functions documented are available for use cases such as dynamically adding a network or remote Samba/SMB server share so the FILE object can reference it using \\ServerName\ShareName as the root path.