Exemplo n.º 1
0
 /// <summary>
 /// Gets the security descriptor of the object.
 /// </summary>
 /// <param name="objectType">The type of the object.</param>
 /// <param name="securityInformation">The information to retrieve.</param>
 /// <returns>A security descriptor.</returns>
 protected SecurityDescriptor GetSecurity(SeObjectType objectType, SecurityInformation securityInformation)
 {
     return(SecurityDescriptor.GetSecurity(this, objectType, securityInformation));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the security descriptor of the object.
 /// </summary>
 /// <param name="securityInformation">The information to retrieve.</param>
 /// <returns>A security descriptor.</returns>
 public virtual SecurityDescriptor GetSecurity(SecurityInformation securityInformation)
 {
     return(SecurityDescriptor.GetSecurity(this, securityInformation));
 }