Click or drag to resize

VGMembershipUser Class

Exposes and updates membership user information in the Visual Guard repository.
Inheritance Hierarchy
SystemObject
  Novalys.VisualGuard.Security.MembershipVGMembershipUser

Namespace:  Novalys.VisualGuard.Security.Membership
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
[SerializableAttribute]
public sealed class VGMembershipUser : VGIMembershipObject, 
	VGIDocumentationMembershipObject

The VGMembershipUser type exposes the following members.

Properties
  NameDescription
Public propertyApplicationId
Gets the unique identifier of the application for which the user was created
Public propertyAuthenticationMode
Gets a value indicating the mode of authentication used by Visual Guard to authenticate the given user.
Public propertyComment
Gets or sets repository-specific information for the membership user.
Public propertyCreationDate
Gets the date and time when the user was added to the repository. (Server Time)
Public propertyCreationDateLT
Gets the date and time when the user was added to the repository. (Local Time)
Public propertyEmail
Gets or sets the e-mail address for the membership user.
Public propertyEndDate
Gets the end date for the membership user.
Public propertyFirstName
Gets or sets the first name of the membership user.
Public propertyGraceLoginRemaining
Gets the number of logons that are allowed before the account is locked out.
Public propertyId
Gets a id of the user
Public propertyIdentityInformation
Return the information of the user
Public propertyIsApproved
Gets or sets whether the membership user can be authenticated.
Public propertyIsDirty Obsolete.
Gets a value indicating whether the VGMembershipUser has been modified.
Public propertyIsLockedOut
Gets a value indicating whether the membership user is locked out and unable to be validated.
Public propertyCode exampleIsMemberOfAnotherApplication
Returns a boolean value indicating whether the user is a member of an application different from the current application
Public propertyCode exampleIsMemberOfApplication
Returns a boolean value indicating whether the user is a member of the current application.
Public propertyIsPasswordExpired
Gets a boolean value that specifies whether the password for the user has expired.
Public propertyItemGuid
Public propertyItemString
Public propertyItemVGGroup, Guid
Public propertyItemVGGroup, String
Public propertyLastActivityDate
Gets or sets the date and time when the membership user was last authenticated or accessed the repository
Public propertyLastLockoutDate
Gets the most recent date and time that the membership user was locked out.
Public propertyLastLoginDate
Gets or sets the date and time when the user was last authenticated.
Public propertyLastModification
Gets the date and time when the user was last modified. (Server Time)
Public propertyLastModificationDate
Gets the date and time when the user was last modified.
Public propertyLastModificationLT
Gets the date and time when the user was last modified. (Local Time)
Public propertyLastName
Gets or sets the first name of the membership user.
Public propertyLastPasswordChangedDate
Gets the date and time when the membership user's password was last updated.
Public propertyMembershipPermission
Gets a value that indicates whether the current user can use Membership API to edit, create, delete or assign role to users for the current application
Public propertyMustChangePasswordAtNextLogon
Gets or sets a boolean value indicating when the password must be changed at next logon.
Public propertyName
Gets name of the user
Public propertyPasswordExpirationDate
Gets the password expiration date and time.
Public propertyPasswordQuestion
Gets the password question for the membership user.
Public propertyProfileValues
Gets User Profile values of the current user.
Public propertyRepositoryId
Gets the unique identifier of the information used to store in a repository
Public propertyRuntime
Return the current Runtime
Public propertyStartDate
Gets start date for the membership user.
Public propertyTitle
Gets the title of the membership user.
Public propertyType
Gets type of the entity
Public propertyUserName
Gets the logon name of the membership user.
Top
Methods
  NameDescription
Public methodChangePassword(SecureString, SecureString)
Updates the password for the membership user in the Visual Guard repository.
Public methodChangePassword(String, String)
Updates the password for the membership user in the Visual Guard repository.
Public methodChangePasswordQuestionAndAnswer(String, String)
Updates the password question and answer for the membership user in the Visual Guard repository
Public methodChangePasswordQuestionAndAnswer(String, String, String)
Updates the password question and answer for the membership user in the Visual Guard repository
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllProfileValues
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(Guid)
Public methodGetValue(String)
Public methodGetValue(VGProfileAttribute)
Public methodGetValue(VGGroup, Guid)
Gets value for particular contextual group's user profile value by property Id.
Public methodGetValue(VGGroup, String)
Gets value for particular contextual group's user profile value by property name.
Public methodGetValueT(Guid)
Public methodGetValueT(String)
Public methodGetValueT(VGProfileAttribute)
Public methodGetValueT(VGGroup, Guid)
Gets value for particular contextual group's user profile value by property Id.
Public methodGetValueT(VGGroup, String)
Gets value for particular contextual group's user profile value by property name.
Public methodGrantMembershipPermission
Grants the permission to use the Membership API to edit, create, delete or assign role to users for the current application
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResetPassword
Resets a user's password to a new, automatically generated password.
Public methodResetPassword(String)
Resets a user's password to a new, automatically generated password.
Public methodRevokeMembershipPermission
Revokes the permission to use the Membership API to edit, create, delete or assign role to users for the current application
Public methodSetValue(Guid, Object)
Public methodSetValue(String, Object)
Public methodSetValue(VGGroup, Guid, Object)
Sets user profile value for particular contextual group by propertyId.
Public methodSetValue(VGGroup, String, Object)
Sets user profile value for particular contextual group by propertyname.
Public methodSetValueT(Guid, T)
Sets user profile value by propertyId.
Public methodSetValueT(String, T)
Sets user profile value by propertyname.
Public methodSetValueT(VGGroup, Guid, T)
Sets user profile value for particular contextual group by propertyId.
Public methodSetValueT(VGGroup, String, T)
Sets user profile value for particular contextual group by propertyname.
Public methodToString
Returns the user name for the membership user.
(Overrides ObjectToString.)
Public methodUnlockUser
Clears the locked-out state of the user so that the membership user can be validated.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultInvalidCharsForName
An array of chars containing the list of invalid chars for a name ('\', '/', '?', '*', '%', ';', ''', '"', ':', '|', '[', ']', '+', '=', ',').
Top
Remarks
The VGMembershipUser object is used to represent a single membership user in the Visual Guard repository. It exposes information about the membership user such as the e-mail address, and provides functionality for the membership user such as the ability to reset his or her password.

A VGMembershipUser object is returned by the GetUser(String) and CreateUser(String, String) methods or as part of a VGMembershipUserCollection returned by the GetAllUsers, FindUsersByName(String), and FindUsersByEmail(String) methods.

A VGMembershipUser object is required by the UpdateUser(VGMembershipUser) method when you want to update the information for an existing membership user.

See Also