Click or drag to resize

VGMembershipInstanceGetUserById Method

Note: This API is now obsolete.

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

Namespace:  Novalys.VisualGuard.Security.Membership
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
[ObsoleteAttribute("Use a Find or Get All ")]
public VGMembershipUser GetUserById(
	string repositoryId
)

Parameters

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

Return Value

Type: VGMembershipUser
A VGMembershipUser object representing the specified user.
Exceptions
ExceptionCondition
ArgumentNullExceptionrepositoryId is null.
ArgumentExceptionrepositoryId is empty or is longer than 256 characters.
SecurityExceptionThe current user does not have 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