C# 클래스 Candor.Security.CandorAuthorizationRoleProvider

A role provider that gets a list of roles from the AuthorizationManager if configured.
상속: System.Web.Security.RoleProvider
파일 보기 프로젝트 열기: michael-lang/candor-common

공개 메소드들

메소드 설명
AddUsersToRoles ( string usernames, string roleNames ) : void

Not implemented/supported.

CreateRole ( string roleName ) : void

Not implemented/supported.

DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool

Not implemented/supported.

FindUsersInRole ( string roleName, string usernameToMatch ) : string[]

Not implemented/supported.

GetAllRoles ( ) : string[]

Not implemented/supported.

GetRolesForUser ( string username ) : string[]

Gets all the roles assigned to the given user name.

GetUsersInRole ( string roleName ) : string[]

Not implemented/supported.

Initialize ( string name, NameValueCollection config ) : void

gets or sets if this role provider should load roles using the AuthorizationManager.

Initializes this role provider given the specified config.

If false, the authorization web service will be called directly and without any caching.If this provider is configured with 'useAuthorizationManager="false"' then the configuration will also be passed down to the default web service implementation of an authorization provider which will fulfull requests to this role provider.

IsUserInRole ( string username, string roleName ) : bool

Determines if a user is in a given role.

RemoveUsersFromRoles ( string usernames, string roleNames ) : void

Not implemented/supported.

RoleExists ( string roleName ) : bool

Not implemented/supported.

메소드 상세

AddUsersToRoles() 공개 메소드

Not implemented/supported.
public AddUsersToRoles ( string usernames, string roleNames ) : void
usernames string
roleNames string
리턴 void

CreateRole() 공개 메소드

Not implemented/supported.
public CreateRole ( string roleName ) : void
roleName string
리턴 void

DeleteRole() 공개 메소드

Not implemented/supported.
public DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool
roleName string
throwOnPopulatedRole bool
리턴 bool

FindUsersInRole() 공개 메소드

Not implemented/supported.
public FindUsersInRole ( string roleName, string usernameToMatch ) : string[]
roleName string
usernameToMatch string
리턴 string[]

GetAllRoles() 공개 메소드

Not implemented/supported.
public GetAllRoles ( ) : string[]
리턴 string[]

GetRolesForUser() 공개 메소드

Gets all the roles assigned to the given user name.
public GetRolesForUser ( string username ) : string[]
username string
리턴 string[]

GetUsersInRole() 공개 메소드

Not implemented/supported.
public GetUsersInRole ( string roleName ) : string[]
roleName string
리턴 string[]

Initialize() 공개 메소드

gets or sets if this role provider should load roles using the AuthorizationManager. Initializes this role provider given the specified config.
If false, the authorization web service will be called directly and without any caching. If this provider is configured with 'useAuthorizationManager="false"' then the configuration will also be passed down to the default web service implementation of an authorization provider which will fulfull requests to this role provider.
public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
리턴 void

IsUserInRole() 공개 메소드

Determines if a user is in a given role.
public IsUserInRole ( string username, string roleName ) : bool
username string
roleName string
리턴 bool

RemoveUsersFromRoles() 공개 메소드

Not implemented/supported.
public RemoveUsersFromRoles ( string usernames, string roleNames ) : void
usernames string
roleNames string
리턴 void

RoleExists() 공개 메소드

Not implemented/supported.
public RoleExists ( string roleName ) : bool
roleName string
리턴 bool