|
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.254-beta+b1c32a8191971a5ec09744a3eb270cb5508e892c
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