UserInfoUserNameToSID Method
Converts the given user name to the SID corresponding to that name.
Namespace: Gemstone.IdentityAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.167 -- Release Build+1e132a4d484f1823d39b71639f55ad9da4974e99
Public Shared Function UserNameToSID (
accountName As String
) As String
Gemstone.Identity.UserInfo.UserNameToSID = function(accountName);
- accountName String
- The user name for which to look up the SID.
StringThe SID for the given user name, or the user name if no SID can be found.
If the accountName cannot be converted to a SID, accountName
will be the return value.