The VGMembership type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddWindowsAccount(NTAccount)
Adds a new windows account to the Visual Guard repository.
Public methodStatic memberAddWindowsAccount(NTAccount, VGMembershipCreateStatus%)
Adds a new windows account to the Visual Guard repository.
Public methodApproveUser
Approved a user.
Public methodStatic memberChangePassword
Updates the password for the membership user in the Visual Guard repository.
Public methodStatic memberChangePasswordQuestionAndAnswer
Updates the password question and answer for the membership user in the Visual Guard repository
Public methodStatic memberConvertUsernameToRepositoryId
Converts the username of a user to a Visual Guard unique repository id for the specified authentication mode
Public methodStatic memberCreateInstance
Creates a VGMembershipInstance using a specific security runtime
Public methodStatic memberCreateUser(String, String)
Adds a new user to the Visual Guard repository.
Public methodStatic memberCreateUser(String, String, String)
Adds a new user to the Visual Guard repository.
Public methodStatic memberCreateUser(String, String, String, String, String, Boolean, String, VGMembershipCreateStatus%)
Adds a new user to the Visual Guard repository.
Public methodStatic memberCreateUser(String, String, String, String, String, Boolean, String, String, String, VGMembershipCreateStatus%)
Adds a new user to the Visual Guard repository.
Public methodStatic memberCreateUser(String, String, String, String, String, Boolean, String, String, String, Boolean, VGMembershipCreateStatus%)
Adds a new user to the Visual Guard repository.
Public methodStatic memberDeleteUser(String)
Deletes a user from the repository.
Public methodStatic memberDeleteUser(String, Boolean)
Deletes a user from the repository.
Public methodStatic memberDeleteUserById
Deletes a user specified by its repository id from the repository.
Public methodStatic memberDeleteWindowsAccount(NTAccount)
Deletes a windows account from the repository.
Public methodStatic memberDeleteWindowsAccount(NTAccount, Boolean)
Deletes a windows account from the repository.
Public methodDisapproveUser
Disappove a user
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFindUsersByAuthenticationMode(VGAuthenticationMode)
Gets a collection of membership users where the user authentication mode contains the specified user authentication mode to match.
Public methodStatic memberFindUsersByAuthenticationMode(VGAuthenticationMode, Int32, Int32, Int32%)
Gets a collection of membership users where the user authentication mode contains the specified user authentication mode to match.
Public methodStatic memberFindUsersByEmail(String)
Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.
Public methodStatic memberFindUsersByEmail(String, Int32, Int32, Int32%)
Gets a collection of membership users, in a page of data, where the e-mail address contains the specified e-mail address to match.
Public methodStatic memberFindUsersByLastName(String)
Gets a collection of membership users where the last name contains the specified user name to match.
Public methodStatic memberFindUsersByLastName(String, Int32, Int32, Int32%)
Gets a collection of membership users where the last name contains the specified name to match.
Public methodStatic memberFindUsersByName(String)
Gets a collection of membership users where the user name contains the specified user name to match.
Public methodStatic memberFindUsersByName(String, Guid)
Gets a collection of membership users where the user name contains the specified user name to match.
Public methodStatic memberFindUsersByName(String, Int32, Int32, Int32%)
Gets a collection of membership users where the user name contains the specified user name to match.
Public methodStatic memberFindUsersByName(String, Int32, Int32, Int32%, Guid)
Gets a collection of membership users where the user name contains the specified user name to match.
Public methodStatic memberFindUsersByState(VGMemberShipUserState)
Gets a collection of membership users where the user state is Locked / Unlocked or Approved / UnApproved.
Public methodStatic memberFindUsersByState(VGMemberShipUserState, Int32, Int32, Int32%)
Gets a collection of membership users where the user state is Locked / Unlocked or Approved / UnApproved.
Public methodStatic memberFindUsersInApplication(Guid)
Gets a collection of membership users where the application name contains the specified application name to match.
Public methodStatic memberFindUsersInApplication(Guid, Int32, Int32, Int32%)
Gets a collection of membership users where the application name contains the specified application name to match.
Public methodStatic memberFindUsersWithoutApplications()()()()
Gets a collection of membership users without applications.
Public methodStatic memberFindUsersWithoutApplications(Int32, Int32, Int32%)
Gets a collection of membership users without applications.
Public methodStatic memberGetAllUsers()()()()
Gets a collection of all the users in the repository.
Public methodStatic memberGetAllUsers(Int32, Int32, Int32%)
Gets a collection of all the users in the repository in pages of data.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUser()()()()
Gets the information from the repository and updates the last-activity date/time stamp for the current logged-on membership user.
Public methodStatic memberGetUser(String)
Gets the information from the repository for the specified membership user.
Public methodStatic memberGetUser(String, VGAuthenticationMode)
Gets the information from the repository for the specified membership user with the specified authenication mode.
Public methodStatic memberGetUserById Obsolete.
Gets the information from the repository for the user identified by the specified Visual Guard repository id.
Public methodStatic memberGetUserIdByEmail
Gets the repository id of a user where the e-mail address matches the specified e-mail address.
Public methodStatic memberGetUserNameByEmail
Gets a user name where the e-mail address for the user matches the specified e-mail address.
Public methodStatic memberGrantMembershipPermission(String)
Grants the permission to use the Membership API to edit, create, delete or assign role to users for the current application
Public methodStatic memberGrantMembershipPermission(String, Guid)
Grants the permission to use the Membership API to edit, create, delete or assign role to users for the current application
Public methodStatic memberLockUser
Clears the user's locked-out status so that the membership user can be unvalidated.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRevokeMembershipPermission(String)
Revokes the permission to use the Membership API to edit, create, delete or assign role to users for the current application
Public methodStatic memberRevokeMembershipPermission(String, Guid)
Revokes the permission to use the Membership API to edit, create, delete or assign role to users for the current application
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic memberUnlockUser
Clears the user's locked-out status so that the membership user can be validated.
Public methodStatic memberUpdateUser
Updates the repository with the information for the specified user.
Public methodStatic memberValidateUser
Verifies that the supplied user name and password are valid.

Properties

  NameDescription
Public propertyStatic memberCount
Gets the number of users in the repository.
Public propertyStatic memberEnablePasswordReset
Gets a value indicating whether the current membership provider is configured to allow users to reset their passwords.
Public propertyStatic memberMaxInvalidPasswordAttempts
Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out.
Public propertyStatic memberMaxUsers
Gets the maximum number of users allowed in the repository according to the granted license.
Public propertyStatic memberMinRequiredNonAlphanumericCharacters
Gets the minimum number of special characters that must be present in a valid password.
Public propertyStatic memberMinRequiredPasswordLength
Gets the minimum length required for a password.
Public propertyStatic memberPasswordAttemptWindow
Gets the number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out.
Public propertyStatic memberPasswordStrengthRegularExpression
Gets the regular expression used to evaluate a password.
Public propertyStatic memberRequiresQuestionAndAnswer
Gets a value indicating whether the repository is configured to require the user to answer a password question for password reset and retrieval.
Public propertyStatic memberRequiresUniqueEmail
Gets a value indicating whether the repository is configured to require a unique e-mail address for each user name.

Events

  NameDescription
Public eventStatic memberValidatingPassword
Occurs when a user is created, a password is changed, or a password is reset.

See Also