Condividi tramite


ManagementGroup.IsUserAdministrator Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Determines whether the user who is calling this method is an administrator.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use Security.IsUserAdministrator()")]
public bool IsUserAdministrator()
public:
[ObsoleteAttribute("Please use Security.IsUserAdministrator()")]
bool IsUserAdministrator()
[<ObsoleteAttribute("Please use Security.IsUserAdministrator()")>]
member IsUserAdministrator : unit -> bool
<ObsoleteAttribute("Please use Security.IsUserAdministrator()")>
Public Function IsUserAdministrator As Boolean

Return Value

Type: System.Boolean

Returns Booleanthatgivestrue if the user who is calling this method is an administrator; otherwise,false.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top