ManagementGroup.GetMonitoringUserRole(Guid) 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.GetUserRole()
Gets the specified user role.
public:
Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringUserRole ^ GetMonitoringUserRole(Guid userRoleId);
[System.Obsolete("Please use Security.GetUserRole()")]
public Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole GetMonitoringUserRole (Guid userRoleId);
member this.GetMonitoringUserRole : Guid -> Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole
Public Function GetMonitoringUserRole (userRoleId As Guid) As MonitoringUserRole
Parameters
- userRoleId
- Guid
User role id.
Returns
User role object.
- Attributes