Click or drag to resize
CMSRoleProvider Methods

The CMSRoleProvider type exposes the following members.

Methods
  NameDescription
Public methodAddUsersToRoles
Adds user to role.
(Overrides RoleProviderAddUsersToRoles(String, String).)
Public methodCreateRole
Creates current site role.
(Overrides RoleProviderCreateRole(String).)
Public methodDeleteRole
Deletes specified role.
(Overrides RoleProviderDeleteRole(String, Boolean).)
Public methodFindUsersInRole
Find all user in specified role.
(Overrides RoleProviderFindUsersInRole(String, String).)
Public methodGetAllRoles
Returns all roles.
(Overrides RoleProviderGetAllRoles.)
Public methodGetRolesForUser
Returns all roles for specified user.
(Overrides RoleProviderGetRolesForUser(String).)
Public methodGetUsersInRole
Returns all user in specified role.
(Overrides RoleProviderGetUsersInRole(String).)
Public methodInitialize
Initialization.
(Overrides ProviderBaseInitialize(String, NameValueCollection).)
Public methodIsUserInRole
Determines whether specified user is in specified role.
(Overrides RoleProviderIsUserInRole(String, String).)
Public methodRemoveUsersFromRoles
Removes user from role.
(Overrides RoleProviderRemoveUsersFromRoles(String, String).)
Public methodRoleExists
Determines whether specified role exists.
(Overrides RoleProviderRoleExists(String).)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also