Partager via


HostingAccountPermissions Class

The permissions that can be set and checked for in the account service.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Account.HostingAccountPermissions

Namespace:  Microsoft.VisualStudio.Services.Account
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public NotInheritable Class HostingAccountPermissions
public static class HostingAccountPermissions
public ref class HostingAccountPermissions abstract sealed
[<AbstractClass>]
[<Sealed>]
type HostingAccountPermissions =  class end
public final class HostingAccountPermissions

The HostingAccountPermissions type exposes the following members.

Fields

  Name Description
Public fieldStatic member AdministerAccount The ability to delete a collection
Public fieldStatic member AllPermissions This defines the set of bits that are valid for the hosting account permission space. When reading or writing hosting account permissions these are the only bits paid attention too.
Public fieldStatic member AlterAccountStatus The ability to alter an account's expiration date and mark it expired or active.
Public fieldStatic member AuditAccount The ability to audit the account, view any information related to the account.
Public fieldStatic member CreateAccount The ability to create an account.
Public fieldStatic member DeleteAccount The ability to delete an account.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Services.Account Namespace