Visual Guard Class Library Documentation

VGMembershipInstance.GetWindowsAccount Method 

Gets the information from the repository for the specified Windows account.

public VGMembershipUser GetWindowsAccount(
   NTAccount account
);

Parameters

account
A NTAccount object representing the windows account that will be added to the repository.

Return Value

A VGMembershipUser object representing the specified user.

Exceptions

Exception Type Condition
ArgumentNullException account is null.
SecurityException The current user has not enough privileges to use Membership API. The Membership access level of the application must be sufficient to allows this action or the 'Membership Manager' role must be granted to the user by using the Visual Guard console.

See Also

VGMembershipInstance Class | Novalys.VisualGuard.Security.Membership Namespace