|
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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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