IAccessControlService.ProvisionServiceIdentity Method (String, String)
Provisions a service identity with the given name and password.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function ProvisionServiceIdentity ( _
serviceIdentityName As String, _
password As String _
) As ServiceIdentity
ServiceIdentity ProvisionServiceIdentity(
string serviceIdentityName,
string password
)
ServiceIdentity^ ProvisionServiceIdentity(
String^ serviceIdentityName,
String^ password
)
abstract ProvisionServiceIdentity :
serviceIdentityName:string *
password:string -> ServiceIdentity
function ProvisionServiceIdentity(
serviceIdentityName : String,
password : String
) : ServiceIdentity
Parameters
serviceIdentityName
Type: System.StringThe service identity name.
password
Type: System.StringThe service identity password.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.ServiceIdentity
The provisioned service identity.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IAccessControlService Interface