SecurityIdentifier.Equals Method
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.
Returns a value that indicates whether this SecurityIdentifier object is equal to a specified object.
Overloads
Equals(Object) |
Returns a value that indicates whether this SecurityIdentifier object is equal to a specified object. |
Equals(SecurityIdentifier) |
Indicates whether the specified SecurityIdentifier object is equal to the current SecurityIdentifier object. |
Equals(Object)
Returns a value that indicates whether this SecurityIdentifier object is equal to a specified object.
public:
override bool Equals(System::Object ^ o);
public override bool Equals (object? o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean
Parameters
- o
- Object
An object to compare with this SecurityIdentifier object, or null
.
Returns
true
if o
is an object with the same underlying type and value as this SecurityIdentifier object; otherwise, false
.
Applies to
Equals(SecurityIdentifier)
Indicates whether the specified SecurityIdentifier object is equal to the current SecurityIdentifier object.
public:
bool Equals(System::Security::Principal::SecurityIdentifier ^ sid);
public bool Equals (System.Security.Principal.SecurityIdentifier sid);
override this.Equals : System.Security.Principal.SecurityIdentifier -> bool
Public Function Equals (sid As SecurityIdentifier) As Boolean
Parameters
The object to compare with the current object.
Returns
true
if the value of sid
is equal to the value of the current SecurityIdentifier object.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om