ManagementGroup.IsUserAdministrator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Please use Security.IsUserAdministrator()
Checks if the calling user is an administrator.
public:
bool IsUserAdministrator();
[System.Obsolete("Please use Security.IsUserAdministrator()")]
public bool IsUserAdministrator ();
member this.IsUserAdministrator : unit -> bool
Public Function IsUserAdministrator () As Boolean
Returns
True if user is in an administrator user role, false otherwise.
- Attributes