SCCM WebService API Reference

SCCMWebService..::..IsInRole Method

Determines whether the calling user is in the specified role.

Namespace:  SCCMWebService
Assembly:  SCCMWebService (in SCCMWebService.dll)

Syntax


<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function IsInRole ( _
	role As String _
) As Boolean
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
bool^ IsInRole(
	String^ role
)

Parameters

role
Type: String
The role.

Return Value

true if computer is in the specified role, otherwise false.