|
UserInfoGroupNameToSID Method
|
Converts the given group name to the SID corresponding to that name.
Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic static string GroupNameToSID(
string groupName
)
Public Shared Function GroupNameToSID (
groupName As String
) As String
public:
static String^ GroupNameToSID(
String^ groupName
)
static member GroupNameToSID :
groupName : string -> string
GSF.Identity.UserInfo.GroupNameToSID = function(groupName);
View SourceParameters
- groupName String
- The group name for which to look up the SID.
Return Value
StringThe 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