_XDocument3.Role Property
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.
Gets or sets the user's current role.
public:
property System::String ^ Role { System::String ^ get(); void set(System::String ^ value); };
public string Role { get; set; }
member this.Role : string with get, set
Public Property Role As String
Property Value
The user's current role.
Implements
Examples
In the following example, the Role property is used to determine the current user's role.
string currentRole = thisXDocument.<span class="label">Role</span>;
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per