DirectoryRdnPrefixAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The RDN prefix used to construct the RDN for the new object that is inserted into the store. The default RDN prefix of "CN" is used by the Account Management API if this attribute is not set. This attribute is optional and can only be set on principal extension classes.
public ref class DirectoryRdnPrefixAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class DirectoryRdnPrefixAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type DirectoryRdnPrefixAttribute = class
inherit Attribute
Public NotInheritable Class DirectoryRdnPrefixAttribute
Inherits Attribute
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| DirectoryRdnPrefixAttribute(String) |
Initializes a new instance of the DirectoryRdnPrefixAttribute class with the RDN prefix. |
Properties
| Name | Description |
|---|---|
| Context |
This property is not implemented and always returns null. |
| RdnPrefix |
Returns the RDN prefix used to construct the RDN. |