Click or drag to resize

UserRoleCacheSaveUserRole Method

Serializes the roles for the given userName into the UserRoleCache.

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.218-beta
Syntax
public void SaveUserRole(
	string userName,
	string[] roles
)
View Source

Parameters

userName  String
User name associated with access role to retrieve.
roles  String
Access roles to update or populate.
Remarks

This will add an entry into the user roles cache for userName if it doesn't exist; otherwise existing entry will be updated.

Updates are automatically queued up for serialization so user does not need to call Save.

See Also