UserInfoGroupNameToSID Method

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

Definition

Namespace: Gemstone.Identity
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.177 -- Release Build+17e3a8c30c12a6a5a57ad4af156d7b83be281c33
public static string GroupNameToSID(
	string groupName
)

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