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.296-beta+d85e3b6b23676c9fffb3231e358b4f94ad70793d
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