|
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.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
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