SPWellKnownAppPrincipal.TryGetWellKnownAppPrincipal method
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function TryGetWellKnownAppPrincipal ( _
clientId As String, _
<OutAttribute> ByRef wellKnownAppPrincipal As SPWellKnownAppPrincipal _
) As Boolean
'Usage
Dim clientId As String
Dim wellKnownAppPrincipal As SPWellKnownAppPrincipal
Dim returnValue As Boolean
returnValue = SPWellKnownAppPrincipal.TryGetWellKnownAppPrincipal(clientId, _
wellKnownAppPrincipal)
public static bool TryGetWellKnownAppPrincipal(
string clientId,
out SPWellKnownAppPrincipal wellKnownAppPrincipal
)
Parameters
- clientId
Type: System.String
- wellKnownAppPrincipal
Type: Microsoft.SharePoint.Administration.SPWellKnownAppPrincipal
Return value
Type: System.Boolean