|
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.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
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