Udostępnij za pośrednictwem


Metoda IAccessControlService.ProvisionServiceIdentity — (String, String, array<IdentityDescriptor )

Przepisy tożsamości usługi z określoną nazwą i hasłem.

Dodaje tożsamość usługi do danej grupy.

Przestrzeń nazw:  Microsoft.TeamFoundation.Framework.Client
Zestaw:  Microsoft.TeamFoundation.Client (w Microsoft.TeamFoundation.Client.dll)

Składnia

'Deklaracja
Function ProvisionServiceIdentity ( _
    serviceIdentityName As String, _
    password As String, _
    addToGroups As IdentityDescriptor() _
) As ServiceIdentity
ServiceIdentity ProvisionServiceIdentity(
    string serviceIdentityName,
    string password,
    IdentityDescriptor[] addToGroups
)

Parametry

  • serviceIdentityName
    Typ: System.String
    Nazwa tożsamości usługi.

Wartość zwracana

Typ: Microsoft.TeamFoundation.Framework.Client.ServiceIdentity
Tożsamość usługi zabezpieczony.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IAccessControlService Interfejs

Przeciążenie ProvisionServiceIdentity

Przestrzeń nazw Microsoft.TeamFoundation.Framework.Client