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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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