Click or drag to resize

UserInfoGroupNameToSID Method

Converts the given group name to the SID corresponding to that name.

Namespace: GSF.Identity
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.304-beta+e40582bbb64c28edadb696048770577c4e325275
Syntax
public static string GroupNameToSID(
	string groupName
)
View Source

Parameters

groupName  String
The group name for which to look up the SID.

Return Value

String
The SID for the given group name, or the group name if no SID can be found.
Remarks
If the groupName cannot be converted to a SID, groupName will be the return value.
See Also