Click or drag to resize

UserRoleCacheTryGetUserRole Method

Attempts to retrieve access role for given userName.

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.181-beta
Syntax
public bool TryGetUserRole(
	string userName,
	out string[] roles
)
View Source

Parameters

userName  String
User name associated with access role to retrieve.
roles  String
Access roles to populate if found.

Return Value

Boolean
true if access roles for given userName were retrieved; otherwise false.
See Also