Gets a collection of membership users where the user name contains the specified user name to match.
A VGMembershipUserCollection that contains a page of pageSizeMembershipUser objects beginning at the page specified by pageIndex.
Exception Type | Condition |
---|---|
ArgumentException | usernameToMatch is longer than 64 characters. -or - pageIndex is less than 0.-or - pageSize is less than 1.-or - pageSize multiplied by pageIndex, plus pageSize, minus 1 is greater than MaxValue |
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. |
VGMembership Class | Novalys.VisualGuard.Security.Membership Namespace | VGMembership.FindUsersByName Overload List