Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IUserOptions Interface

The IUserOptions class is an interface that represents a collection of options that is associated with a user.

This API is not CLS-compliant. 

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[CLSCompliantAttribute(false)]
[StateChangeEventAttribute("ALTER_USER", "USER", "SQL USER")]
[StateChangeEventAttribute("CREATE_USER", "USER", "WINDOWS USER")]
[StateChangeEventAttribute("ALTER_USER", "USER", "ASYMMETRIC KEY USER")]
[StateChangeEventAttribute("CREATE_USER", "USER", "SQL USER")]
[DisplayDescriptionKeyAttribute("IUserOptions_Desc")]
[StateChangeEventAttribute("CREATE_USER", "USER", "GROUP USER")]
[StateChangeEventAttribute("ALTER_USER", "USER", "GROUP USER")]
[StateChangeEventAttribute("CREATE_USER", "USER", "CERTIFICATE USER")]
[StateChangeEventAttribute("ALTER_USER", "USER", "CERTIFICATE USER")]
[StateChangeEventAttribute("CREATE_USER", "USER", "ASYMMETRIC KEY USER")]
[StateChangeEventAttribute("ALTER_USER", "USER", "WINDOWS USER")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayNameKeyAttribute("IUserOptions_Name")]
public interface IUserOptions : IDmfFacet

The IUserOptions type exposes the following members.

  NameDescription
Public propertyAsymmetricKeyGets a key that is used for encryption and decryption. Asymmetric keys are related and form a key pair.
Public propertyCertificateGets a certificate derived from an identifier root.
Public propertyCreateDateGets a DateTime object.
Public propertyDefaultSchemaGets the default database schema.
Public propertyIDGets an Int32 identifier.
Public propertyIsSystemObjectGets a Boolean value that specifies whether or not the interface refers to a Object.
Public propertyLoginGets a string value that contains a log-in.
Public propertyLoginTypeGets the LoginType.
Public propertyNameGets the name of the options referenced by the interface.
Public propertySidGets the security identifier as a Byte object.
Public propertyUserTypeGets the UserType.
Top

Community Additions

ADD
Show:
© 2015 Microsoft