Click or drag to resize

IRoleDataTryGetRole Method

Gets the enterprise role assocoated with the specified ID.

Namespace: KeeperSecurity.Enterprise
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5-beta11
Syntax
C#
bool TryGetRole(
	long roleId,
	out EnterpriseRole role
)

Parameters

roleId  Int64
Enterprise Role ID
role  EnterpriseRole
When this method returns true, contains requested enterprise role; otherwise null.

Return Value

Boolean
true if the enterprise contains a role with specified ID; otherwise, false
See Also