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.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
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