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.241-beta+912389e96d98840d2a999d490420db618dcbe4c6
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