[This topic is pre-release documentation and
is subject to change in future releases. Blank topics are included
as placeholders.]
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Helpers for getting user information
Namespace:
Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
C# | Visual Basic | Visual C++ |
[ SerializableAttribute] public static class UserHelpers
< SerializableAttribute> _ Public NotInheritable Class UserHelpers
[ SerializableAttribute] public ref class UserHelpers abstract sealed
Members
All Members | Properties | Methods |
Public
Protected
|
Instance
Static
|
Declared
Inherited
|
XNA Framework Only
.NET Compact Framework
Only
|
|
Member | Description | |
---|---|---|
CurrentLoggedOnUserName |
Get the current logged on user's user name, if
fails, return null.
|
|
CurrentLoggedOnUserSid |
Get the current logged on user's SID, if
fails, return null.
|
|
GetCurrentLoggedOnUserGroupsSid () () () () |
Get the groups SIDs that the current logged on
user belong to. If fails, return null.
|
|
GetUserGroupSids(WindowsIdentity) |
Gets user groups for a specified user
|
|
GetUserSid(WindowsIdentity) |
Gets the user SID for a token to a user
context
|
Inheritance Hierarchy
System
.
.
::
.
.
Object
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . UserHelpers
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . UserHelpers