Export (0) Print
Expand All

RoleGroup Members

Associates a content template in a LoginView control with one or more roles defined for the Web site. This class cannot be inherited.

The following tables list the members exposed by the RoleGroup type.

  Name Description
Public method RoleGroup Initializes a new instance of the RoleGroup class.

  Name Description
Public property ContentTemplate Gets or sets the content template associated with this role group.
Public property Roles Gets or sets the roles associated with this role group.

(see also Protected Methods )
  Name Description
Public method ContainsUser Indicates whether the specified user is a member of any of the roles in the role group.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString Overridden. Returns a comma-separated list of the roles associated with this role group.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Community Additions

© 2014 Microsoft