Click or drag to resize

IDatabaseRepositoryTryGetRoleByName Method

Tries to get a role by name.

Namespace:  PDTec.IceNet.Core.Database
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
bool TryGetRoleByName(
	string name,
	out IRole pRole
)

Parameters

name
Type: SystemString
The name.
pRole
Type: PDTec.IceNet.Core.Database.UserManagementIRole
The role or null.

Return Value

Type: Boolean
true if a role with the name exists, otherwise false.
See Also