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)

[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"SQL USER")]
[DisplayNameKeyAttribute(L"IUserOptions_Name")]
[DisplayDescriptionKeyAttribute(L"IUserOptions_Desc")]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"ASYMMETRIC KEY USER")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"SQL USER")]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"WINDOWS USER")]
[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"WINDOWS USER")]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"GROUP USER")]
[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"GROUP USER")]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"CERTIFICATE USER")]
[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"CERTIFICATE USER")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"ASYMMETRIC KEY USER")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::Enforce|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface class 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 type of the login.
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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft