LaunchOnBehalfOfPrivilegeAttribute class

Specifies if a service is marked with the LaunchOnBehalfOfPrivilegeAttribute its user account will get the SE_ASSIGNPRIMARYTOKEN_NAME and SE_INCREASE_QUOTA_NAME privileges.

Inheritance hierarchy

System.Object
  System.Attribute
    Microsoft.SharePoint.Administration.LaunchOnBehalfOfPrivilegeAttribute

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class LaunchOnBehalfOfPrivilegeAttribute _
    Inherits Attribute
'Usage
Dim instance As LaunchOnBehalfOfPrivilegeAttribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class LaunchOnBehalfOfPrivilegeAttribute : Attribute

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

LaunchOnBehalfOfPrivilegeAttribute members

Microsoft.SharePoint.Administration namespace