Visual Guard Class Library Documentation

VGMembership.GetUserById Method 

Gets the information from the repository for the user identified by the specified Visual Guard repository id.

public static VGMembershipUser GetUserById(
   String repositoryId
);

Parameters

repositoryId
The Visual Guard repository id identifying the user to retrieve.

Return Value

A VGMembershipUser object representing the specified user.

Exceptions

Exception Type Condition
ArgumentNullException repositoryId is null.
ArgumentException repositoryId is empty or is longer than 256 characters.
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

VGMembership Class | Novalys.VisualGuard.Security.Membership Namespace