Visual Guard Class Library Documentation

VGMembership.GetAllUsers Method (Int32, Int32, Int32&)

Gets a collection of all the users in the repository in pages of data.

public static VGMembershipUserCollection GetAllUsers(
   Int32 pageIndex,
   Int32 pageSize,
   out Int32& totalRecords
);

Parameters

pageIndex
The index of the page of results to return. Use 0 to indicate the first page.
pageSize
The size of the page of results to return. pageIndex is zero-based.
totalRecords
The total number of users.

Return Value

A VGMembershipUserCollection of VGMembershipUser objects representing all the users in the repository.

Exceptions

Exception Type Condition
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 | VGMembership.GetAllUsers Overload List