User.CurrentUserPrincipal Property
Gets the user account principals of the current user.
Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)
Usage
'Usage
Dim instance As User
Dim value As UserPrincipal
value = instance.CurrentUserPrincipal
Syntax
'Declaration
Public ReadOnly Property CurrentUserPrincipal As UserPrincipal
public UserPrincipal CurrentUserPrincipal { get; }
public:
property UserPrincipal^ CurrentUserPrincipal {
UserPrincipal^ get ();
}
/** @property */
public UserPrincipal get_CurrentUserPrincipal ()
public function get CurrentUserPrincipal () : UserPrincipal
Property Value
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows 7 x32, Windows 7 x64, Windows Server 2008 R2 x64, Windows Server 2012 x64, Windows Server 2012 R2 x64
Target Platforms
Windows Server 2012 R2 x64, Windows Server 2012 R2 Essentials, Windows Server 2012 Essentials
See Also
Reference
User Class
User Members
Microsoft.WindowsServerSolutions.Users Namespace
Copyright © 2013 by Microsoft Corporation. All rights reserved.