Click or drag to resize

RemoteSecurityRepositoryIsUserInRole Method (IPrincipal, String)

Determine if user is in role

Namespace:  SanteDB.DisconnectedClient.Services.Remote
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public bool IsUserInRole(
	IPrincipal principal,
	string roleName
)

Parameters

principal
Type: System.Security.PrincipalIPrincipal

[Missing <param name="principal"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemoteSecurityRepository.IsUserInRole(System.Security.Principal.IPrincipal,System.String)"]

roleName
Type: SystemString

[Missing <param name="roleName"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemoteSecurityRepository.IsUserInRole(System.Security.Principal.IPrincipal,System.String)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemoteSecurityRepository.IsUserInRole(System.Security.Principal.IPrincipal,System.String)"]

See Also